home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / Goodies / Aldus Fetch™ / Fetch Browser / Fetch Browser.rsrc / CODE_30_ACursUtils.txt < prev    next >
Text File  |  1992-10-27  |  11KB  |  204 lines

  1. # near model CODE resource
  2. # jump table entries: 13448-13452 (5 of them)
  3. export_1681:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  4E5E                     unlink     A6
  6. 00000006  4E75                     rts
  7. 00000008  9543                     subx.w     D2, D3
  8. 0000000A  4C45 414E                movem.l    D1,D2,D3,D6,A0,A6, D5
  9. 0000000E  5550                     subq.w     [A0], 2
  10. 00000010  5541                     subq.w     D1, 2
  11. 00000012  4E49                     trap       9
  12. 00000014  4D43                     chk.w      D6, D3
  13. 00000016  5552                     subq.w     [A2], 2
  14. 00000018  5355                     subq.w     [A5], 1
  15. 0000001A  5449                     addq.w     A1, 2
  16. 0000001C  4C53 0000                movem.l    <none>, [A3]
  17. export_1682:
  18. 00000020  4E56 FFF4                link       A6, -0x000C
  19. 00000024  48E7 0118                movem.l    -[A7], D7,A3,A4
  20. 00000028  42A7                     clr.l      -[A7]
  21. 0000002A  2F3C 6163 7572           move.l     -[A7], 0x61637572 /* 'acur' */
  22. 00000030  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  23. 00000034  A9A0                     syscall    GetResource
  24. 00000036  285F                     movea.l    A4, [A7]+
  25. 00000038  200C                     move.l     D0, A4
  26. 0000003A  6744                     beq        +0x46 /* 00000080 */
  27. 0000003C  2054                     movea.l    A0, [A4]
  28. 0000003E  7001                     moveq.l    D0, 0x01
  29. 00000040  B050                     cmp.w      D0, [A0]
  30. 00000042  6E34                     bgt        +0x36 /* 00000078 */
  31. 00000044  2F0C                     move.l     -[A7], A4
  32. 00000046  A992                     syscall    DetachResource
  33. 00000048  200C                     move.l     D0, A4
  34. 0000004A  6734                     beq        +0x36 /* 00000080 */
  35. 0000004C  2054                     movea.l    A0, [A4]
  36. 0000004E  4268 0002                clr.w      [A0 + 0x2]
  37. 00000052  2054                     movea.l    A0, [A4]
  38. 00000054  3D50 FFF4                move.w     [A6 - 0xC], [A0]
  39. 00000058  7E01                     moveq.l    D7, 0x01
  40. 0000005A  6014                     bra        +0x16 /* 00000070 */
  41. label0000005C:
  42. 0000005C  42A7                     clr.l      -[A7]
  43. 0000005E  2054                     movea.l    A0, [A4]
  44. 00000060  3007                     move.w     D0, D7
  45. 00000062  E540                     asl        D0.w, 2
  46. 00000064  3F30 0000                move.w     -[A7], [A0 + D0.w]
  47. 00000068  A9B9                     syscall    GetCursor
  48. 0000006A  265F                     movea.l    A3, [A7]+
  49. 0000006C  5247                     addq.w     D7, 1
  50. 0000006E  6910                     bvs        +0x12 /* 00000080 */
  51. label00000070:
  52. 00000070  BE6E FFF4                cmp.w      D7, [A6 - 0xC]
  53. 00000074  6FE6                     ble        -0x18 /* 0000005C */
  54. 00000076  6008                     bra        +0xA /* 00000080 */
  55. label00000078:
  56. 00000078  2F0C                     move.l     -[A7], A4
  57. 0000007A  A9A3                     syscall    ReleaseResource
  58. 0000007C  7000                     moveq.l    D0, 0x00
  59. 0000007E  2840                     movea.l    A4, D0
  60. label00000080:
  61. 00000080  2D4C 000A                move.l     [A6 + 0xA], A4
  62. 00000084  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  63. 00000088  4E5E                     unlink     A6
  64. 0000008A  205F                     movea.l    A0, [A7]+
  65. 0000008C  544F                     addq.w     A7, 2
  66. 0000008E  4ED0                     jmp        [A0]
  67. 00000090  9047                     sub.w      D0, D7
  68. 00000092  4554                     chk.w      D2, [A4]
  69. 00000094  4E45                     trap       5
  70. 00000096  5741                     subq.w     D1, 3
  71. 00000098  4E49                     trap       9
  72. 0000009A  4D43                     chk.w      D6, D3
  73. 0000009C  5552                     subq.w     [A2], 2
  74. 0000009E  534F                     subq.w     A7, 1
  75. 000000A0  5200                     addq.b     D0, 1
  76. 000000A2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  77. export_1683: // at 000000A4 (misaligned)
  78. 000000A6  0000 2B6E                ori.b      D0, 0x6E /* 'n' */
  79. 000000AA  0008 E960                ori.b      A0, 0x60 /* '`' */
  80. 000000AE  4E5E                     unlink     A6
  81. 000000B0  2E9F                     move.l     [A7], [A7]+
  82. 000000B2  4E75                     rts
  83. 000000B4  9253                     sub.w      D1, [A3]
  84. 000000B6  4554                     chk.w      D2, [A4]
  85. 000000B8  5350                     subq.w     [A0], 1
  86. 000000BA  494E                     chk.w      D4, A6
  87. 000000BC  4355                     chk.w      D1, [A5]
  88. 000000BE  5253                     addq.w     [A3], 1
  89. 000000C0  4F52                     chk.w      D7, [A2]
  90. 000000C2  4445                     neg.w      D5
  91. 000000C4  4C41 5900                movem.l    A0,A3,A4,A6, D1
  92. 000000C8  0000 0000                ori.b      D0, 0x0
  93. export_1684:
  94. 000000CC  4E56 FFFC                link       A6, -0x0004
  95. 000000D0  48E7 0018                movem.l    -[A7], A3,A4
  96. 000000D4  286E 000A                movea.l    A4, [A6 + 0xA]
  97. 000000D8  200C                     move.l     D0, A4
  98. 000000DA  56C0                     sne        D0
  99. 000000DC  4A00                     tst.b      D0
  100. 000000DE  6776                     beq        +0x78 /* 00000156 */
  101. 000000E0  2F00                     move.l     -[A7], D0
  102. 000000E2  42A7                     clr.l      -[A7]
  103. 000000E4  A975                     syscall    TickCount
  104. 000000E6  221F                     move.l     D1, [A7]+
  105. 000000E8  201F                     move.l     D0, [A7]+
  106. 000000EA  B2AD E95C                cmp.l      D1, [A5 - 0x16A4]
  107. 000000EE  5EC1                     sgt        D1
  108. 000000F0  C001                     and.b      D0, D1
  109. 000000F2  6762                     beq        +0x64 /* 00000156 */
  110. 000000F4  102E 0008                move.b     D0, [A6 + 0x8]
  111. 000000F8  671A                     beq        +0x1C /* 00000114 */
  112. 000000FA  2054                     movea.l    A0, [A4]
  113. 000000FC  5268 0002                addq.w     [A0 + 0x2], 1
  114. 00000100  2054                     movea.l    A0, [A4]
  115. 00000102  2248                     movea.l    A1, A0
  116. 00000104  3028 0002                move.w     D0, [A0 + 0x2]
  117. 00000108  B051                     cmp.w      D0, [A1]
  118. 0000010A  6F1E                     ble        +0x20 /* 0000012A */
  119. 0000010C  317C 0001 0002           move.w     [A0 + 0x2], 0x1
  120. 00000112  6016                     bra        +0x18 /* 0000012A */
  121. label00000114:
  122. 00000114  2054                     movea.l    A0, [A4]
  123. 00000116  5368 0002                subq.w     [A0 + 0x2], 1
  124. 0000011A  2054                     movea.l    A0, [A4]
  125. 0000011C  7001                     moveq.l    D0, 0x01
  126. 0000011E  B068 0002                cmp.w      D0, [A0 + 0x2]
  127. 00000122  6F06                     ble        +0x8 /* 0000012A */
  128. 00000124  2248                     movea.l    A1, A0
  129. 00000126  3350 0002                move.w     [A1 + 0x2], [A0]
  130. label0000012A:
  131. 0000012A  42A7                     clr.l      -[A7]
  132. 0000012C  2054                     movea.l    A0, [A4]
  133. 0000012E  2248                     movea.l    A1, A0
  134. 00000130  3029 0002                move.w     D0, [A1 + 0x2]
  135. 00000134  E540                     asl        D0.w, 2
  136. 00000136  3F30 0000                move.w     -[A7], [A0 + D0.w]
  137. 0000013A  A9B9                     syscall    GetCursor
  138. 0000013C  265F                     movea.l    A3, [A7]+
  139. 0000013E  200B                     move.l     D0, A3
  140. 00000140  6706                     beq        +0x8 /* 00000148 */
  141. 00000142  A853                     syscall    ShowCursor
  142. 00000144  2F13                     move.l     -[A7], [A3]
  143. 00000146  A851                     syscall    SetCursor
  144. label00000148:
  145. 00000148  42A7                     clr.l      -[A7]
  146. 0000014A  A975                     syscall    TickCount
  147. 0000014C  202D E960                move.l     D0, [A5 - 0x16A0]
  148. 00000150  D09F                     add.l      D0, [A7]+
  149. 00000152  2B40 E95C                move.l     [A5 - 0x16A4], D0
  150. label00000156:
  151. 00000156  4CDF 1800                movem.l    A3,A4, [A7]+
  152. 0000015A  4E5E                     unlink     A6
  153. 0000015C  205F                     movea.l    A0, [A7]+
  154. 0000015E  5C4F                     addq.w     A7, 6
  155. 00000160  4ED0                     jmp        [A0]
  156. 00000162  8E53                     or.w       D7, [A3]
  157. 00000164  5049                     addq.w     A1, 8
  158. 00000166  4E41                     trap       1
  159. 00000168  4E49                     trap       9
  160. 0000016A  4D43                     chk.w      D6, D3
  161. 0000016C  5552                     subq.w     [A2], 2
  162. 0000016E  534F                     subq.w     A7, 1
  163. 00000170  5200                     addq.b     D0, 1
  164. 00000172  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  165. export_1685: // at 00000174 (misaligned)
  166. 00000176  0000 4A6E                ori.b      D0, 0x6E /* 'n' */
  167. 0000017A  0008 6F14                ori.b      A0, 0x14
  168. 0000017E  7003                     moveq.l    D0, 0x03
  169. 00000180  B06D E9B0                cmp.w      D0, [A5 - 0x1650]
  170. 00000184  6606                     bne        +0x8 /* 0000018C */
  171. 00000186  426D E9B0                clr.w      [A5 - 0x1650]
  172. 0000018A  601E                     bra        +0x20 /* 000001AA */
  173. label0000018C:
  174. 0000018C  526D E9B0                addq.w     [A5 - 0x1650], 1
  175. 00000190  6018                     bra        +0x1A /* 000001AA */
  176. 00000192  4A6E 0008                tst.w      [A6 + 0x8]
  177. 00000196  6C12                     bge        +0x14 /* 000001AA */
  178. 00000198  4A6D E9B0                tst.w      [A5 - 0x1650]
  179. 0000019C  6608                     bne        +0xA /* 000001A6 */
  180. 0000019E  3B7C 0003 E9B0           move.w     [A5 - 0x1650], 0x3
  181. 000001A4  6004                     bra        +0x6 /* 000001AA */
  182. label000001A6:
  183. 000001A6  536D E9B0                subq.w     [A5 - 0x1650], 1
  184. label000001AA:
  185. 000001AA  A853                     syscall    ShowCursor
  186. 000001AC  302D E9B0                move.w     D0, [A5 - 0x1650]
  187. 000001B0  41BC 0003 41ED           .invalid   0, 0x341ED // invalid opcode 4 with b == 6
  188. 000001B6  E9A0                     asl        D0, D4
  189. 000001B8  E540                     asl        D0.w, 2
  190. 000001BA  2070 0000                movea.l    A0, [A0 + D0.w]
  191. 000001BE  2F10                     move.l     -[A7], [A0]
  192. 000001C0  A851                     syscall    SetCursor
  193. 000001C2  4E5E                     unlink     A6
  194. 000001C4  205F                     movea.l    A0, [A7]+
  195. 000001C6  544F                     addq.w     A7, 2
  196. 000001C8  4ED0                     jmp        [A0]
  197. 000001CA  8A53                     or.w       D5, [A3]
  198. 000001CC  5049                     addq.w     A1, 8
  199. 000001CE  4E43                     trap       3
  200. 000001D0  5552                     subq.w     [A2], 2
  201. 000001D2  534F                     subq.w     A7, 1
  202. 000001D4  5200                     addq.b     D0, 1
  203. 000001D6  0000                     .incomplete
  204.